<template>
    <div>
        <button @click="sf_login" style="color:pink">微博登录</button><br>
        用户名：<input type="text" v-model="form.nikename"><br>
        密码：<input type="text" v-model="form.password"><br>
        <button @click="login" style="color:blue">登录</button>
        
    </div>
</template>

<script>
    export default {
     data(){
         return{
             form:{}
         }
     },
     methods:{
         login(){
             this.$axios.get('login/login',this.form).then(res=>{

             })
         },
         sf_login(){
             this.$router.push('sf_login')
         }
     }
    }
</script>

<style scoped>

</style>